<?php
	session_start();
//	error_reporting(E_ALL); 
//	ini_set("display_errors", 1);
	
	require('site.php');
	require_once('web3g/inc/WebSalesDB.inc.php');
	
	function __autoload($class_name){ require_once "web3g/inc/".$class_name.".inc.php"; }
	
	$db = new WebSalesDB();
	$XMLInstance = new OutputXML('web3g/xml/products.xml');
	$CleanCode = new CleanCode();
	$Login = new Login();
	$message = $Login->getAction($_REQUEST);
	$ImageChecker = new ImageChecker();
	$session = new Session("CST", "live");
	
	if(!isset($_GET['file'])){
		$_GET['file'] = "homepage";
		$_GET['ADs'] = true;
	}
	
?>